package com.dayuanit.booksystem.domain;

import com.dayuanit.booksystem.eneity.Book;

import java.util.List;

public class PublisherInfo {
    private String publisherName;
    private String publisherAddress;
    private List<Book> books;

    @Override
    public String toString() {
        return "PublisherInfo{" +
                "publisherName='" + publisherName + '\'' +
                ", publisherAddress='" + publisherAddress + '\'' +
                ", books=" + books +
                '}';
    }

    public String getPublisherName() {
        return publisherName;
    }

    public void setPublisherName(String publisherName) {
        this.publisherName = publisherName;
    }

    public String getPublisherAddress() {
        return publisherAddress;
    }

    public void setPublisherAddress(String publisherAddress) {
        this.publisherAddress = publisherAddress;
    }

    public List<Book> getBooks() {
        return books;
    }

    public void setBooks(List<Book> books) {
        this.books = books;
    }
}
